package com.patterns.templateMethod.commonTemplateMethod;

/**
 * Created by Xiao Yiyun on 2017/4/19.
 * 模板方法模式
 * 具体模板类2
 */
public class ConcreteClass2 extends AbstractClass {
    public void method1() {
        System.out.println("concreteclass2 method1");
    }

    public void method2() {
        System.out.println("concreteclass2 method2");
    }
}